import { http } from "@/utils"

// 根据标签搜索
export const getBlogByLabelAPI = (data) => http.get(`/search/selectByLabel/${data}`)

// 个人博客搜索
export const getOwnerBlogAPI = (author) => http.get(`/search/selectByAuthor/${author}`)

// 个人博客内模糊查询
export const getUserBlogSelectAPI = (title, author) => http.get(`/search/userSelectMohu?mohu=${title}&author=${author}`)

// 首页搜索
export const getSearchAPI = (data) => http.get(`/search/homeSelectMohu?title=${data}`,)


